import type { IUserInfoResp } from '@/layouts/user-layout/type'

export interface IAllUserReq {
  pageNo?: string
  pageSize?: string
}
export interface IAllUserResp {
  totalCount: number
  data: IUserInfoResp[]
}

export interface ICreateUserReq {
  username: string
  password: string
  nickname: string
  email: string
  captcha: string
}

export interface IUpdateUserReq {
  usernname?: string
  nickName?: string
  email: string
  captcha: string
}

export interface IDisableUserReq {
  id: string
}
